import '../bean/alarm_bean.dart';
import '../utils/api/http.dart';
import '../utils/tools/localstorage_tool.dart';

class AlarmModel {

  static Future reqAlarmList(par) async {
    String token = await LocalStorage.getStringItem("token");
    var res = await HttpManager.getInstance().post('alarm/queryList?token=${token}', params: par);
    return AlarmBean(res["data"]);
  }
}
